package cn.lsj.lock;

import cn.lsj.lock.config.DataSource;

import java.util.List;

public class Properties {

    private DataSource dataSource;

    private List<LockAttribute> locks;

    public Properties() {}

    public Properties(DataSource dataSource, List<LockAttribute> locks) {
        this.dataSource = dataSource;
        this.locks = locks;
    }

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public List<LockAttribute> getLocks() {
        return locks;
    }

    public void setLocks(List<LockAttribute> locks) {
        this.locks = locks;
    }



}
